/**
 * WEB环境变量
 * 任何时候，请勿直接修改该文件
 * 通过新建文件 public/webconfig.json 修改 和/或 相应语言文件修改
 * 比如，修改 projectApiRoot 值
 * {
 *      "projectApiRoot":"new url"
 * }
 */
import { categoryTypeItem } from "./interface/publicInterface";
export class WebVariable {
  static defaultLanguage = "zh-cn";
  static title = `旺远信息能耗监测系统`;
  static shortTitle = `旺远信息能耗监测系统`;

  static systemId = "218FC712-F776-9170-FFD5-219157BFA3D7";
  static tenantId = "20200414-1407-5654-8E7D-0C7DFCAFA00E";
  static salt = "2b621e8a4e50643452a82e45b474ca";
  /**空白项目名称 */
  static emptyProejctTitle = "中国人民很行";

  /**页签标题允许的最大长度 */
  static tabTitleMaxLength = 6;

  /**列表控件允许的分页大小集合 */
  static gridPageSizeList = [40, 100, 200, 500];

  // 模拟登录使用的 Cookie
  static fakeCookie: string | undefined = undefined;
  //能源类型：1、电 2、水 3、原煤 4、原油 5、天然气 6、蒸汽
  static categoryType: categoryTypeItem[] = [
    { key: "1", label: "电" },
    { key: "2", label: "水" },
    // { key: "3", label: "原煤" },
    // { key: "4", label: "原油" },
    // { key: "5", label: "天然气" },
    // { key: "6", label: "蒸汽" },
  ];
  //echart色系1
  static colorBright = [
    "#5470C6",
    "#91CB74",
    "#FAC858",
    "#EE6666",
    "#73C0DE",
    "#3CA272",
    "#FC8452",
    "#9A60B4",
    "#ea7ccc",
  ];
  //echart色系2
  static colorObscure = [
    "#c12e34",
    "#e6b600",
    "#0098d9",
    "#2b821d",
    "#005eaa",
    "#339ca8",
    "#cda819",
    "#32a487",
  ];
  // 接口地址列表
  // 注：地址后面不要加斜杠
  //   static usmApiRoot =
  //     "http://10.219.13.37:9997/microservices-usm-spring-cloud-starter";
  //   static projectApiRoot = "http://10.219.13.38:9010";
  //   static resourceApiRoot = "http://10.219.13.38:9017"; // 资源管理
  //   static deviceApiRoot = "http://10.219.13.36:9011"; // 设备物资
  //   static contractApiRoot = "http://10.219.13.37:8888"; // 总包合同
  //   static fileApiRoot = "http://csfwq.msdi.cn:7000"; // 文件上传
}
